package com.burstly.lib.service;

import android.content.Context;

public final class HostsProviderManager
{
  public static final String TAG = "IP list request";
  private static IHostProvider sAdHostProvider;
  private static Context sApplicationContext;
  private static IHostProvider sCurrencyHostProvider;

  public static IHostProvider getAdProvider()
  {
    try
    {
      if (sAdHostProvider == null)
        sAdHostProvider = new AdHostProvider(sApplicationContext);
      IHostProvider localIHostProvider = sAdHostProvider;
      return localIHostProvider;
    }
    finally
    {
    }
  }

  public static IHostProvider getCurrencyProvider()
  {
    if (sCurrencyHostProvider == null)
      sCurrencyHostProvider = new CurrencyHostProvider(sApplicationContext);
    return sCurrencyHostProvider;
  }

  public static void init(Context paramContext)
  {
    try
    {
      if (sApplicationContext == null)
        sApplicationContext = paramContext.getApplicationContext();
      return;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.service.HostsProviderManager
 * JD-Core Version:    0.6.2
 */